<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>p4vasp.StructureWindow</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="p4vasp-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="../index.html">p4vasp</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="p4vasp-module.html">Package&nbsp;p4vasp</a> ::
        Module&nbsp;StructureWindow
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="p4vasp.StructureWindow-pysrc.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="p4vasp.StructureWindow-module.html">Module p4vasp.StructureWindow</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment">#!/usr/bin/python</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-comment"># HappyDoc:docStringFormat='ClassicStructuredText'</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-comment">#  p4vasp is a GUI-program and a library for processing outputs of the</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-comment">#  Vienna Ab-inition Simulation Package (VASP)</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-comment">#  (see http://cms.mpi.univie.ac.at/vasp/Welcome.html)</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-comment">#  Copyright (C) 2003  Orest Dubay &lt;odubay@users.sourceforge.net&gt;</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-comment">#  This program is free software; you can redistribute it and/or modify</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-comment">#  it under the terms of the GNU General Public License as published by</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-comment">#  the Free Software Foundation; either version 2 of the License, or</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"><tt class="py-comment">#  (at your option) any later version.</tt> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"><tt class="py-comment">#  This program is distributed in the hope that it will be useful,</tt> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt class="py-comment">#  but WITHOUT ANY WARRANTY; without even the implied warranty of</tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"><tt class="py-comment">#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"><tt class="py-comment">#  GNU General Public License for more details.</tt> </tt>
<a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"><tt class="py-comment">#   You should have received a copy of the GNU General Public License</tt> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt>  <tt class="py-line"><tt class="py-comment">#  along with this program; if not, write to the Free Software</tt> </tt>
<a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"><tt class="py-comment">#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</tt> </tt>
<a name="L24"></a><tt class="py-lineno"> 24</tt>  <tt class="py-line"> </tt>
<a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line"> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line"> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">_cp4vasp</tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">cp4vasp</tt> </tt>
<a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt id="link-0" class="py-name" targets="Package p4vasp=p4vasp-module.html"><a title="p4vasp" class="py-name" href="#" onclick="return doclink('link-0', 'p4vasp', 'link-0');">p4vasp</a></tt><tt class="py-op">.</tt><tt id="link-1" class="py-name" targets="Module p4vasp.cStructure=p4vasp.cStructure-module.html"><a title="p4vasp.cStructure" class="py-name" href="#" onclick="return doclink('link-1', 'cStructure', 'link-1');">cStructure</a></tt> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-2" class="py-name"><a title="p4vasp" class="py-name" href="#" onclick="return doclink('link-2', 'p4vasp', 'link-0');">p4vasp</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L31"></a><tt class="py-lineno"> 31</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-3" class="py-name"><a title="p4vasp" class="py-name" href="#" onclick="return doclink('link-3', 'p4vasp', 'link-0');">p4vasp</a></tt><tt class="py-op">.</tt><tt id="link-4" class="py-name" targets="Module p4vasp.matrix=p4vasp.matrix-module.html"><a title="p4vasp.matrix" class="py-name" href="#" onclick="return doclink('link-4', 'matrix', 'link-4');">matrix</a></tt> <tt class="py-keyword">import</tt> <tt class="py-op">*</tt> </tt>
<a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line"> </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line"><tt class="py-comment">#zombies=[]</tt> </tt>
<a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow"></a><div id="StructureWindow-def"><a name="L35"></a><tt class="py-lineno"> 35</tt> <a class="py-toggle" href="#" id="StructureWindow-toggle" onclick="return toggle('StructureWindow');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html">StructureWindow</a><tt class="py-op">(</tt><tt class="py-base-class">cp4vasp</tt><tt class="py-op">.</tt><tt class="py-base-class">VisWindow</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="StructureWindow-expanded"><a name="StructureWindow.__init__"></a><div id="StructureWindow.__init__-def"><a name="L36"></a><tt class="py-lineno"> 36</tt> <a class="py-toggle" href="#" id="StructureWindow.__init__-toggle" onclick="return toggle('StructureWindow.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">x</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt><tt class="py-param">y</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt><tt class="py-param">w</tt><tt class="py-op">=</tt><tt class="py-number">400</tt><tt class="py-op">,</tt><tt class="py-param">h</tt><tt class="py-op">=</tt><tt class="py-number">400</tt><tt class="py-op">,</tt><tt class="py-param">title</tt><tt class="py-op">=</tt><tt class="py-string">""</tt><tt class="py-op">,</tt><tt class="py-param">this</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt><tt class="py-param">atomtypes</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.__init__-expanded"><a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">x</tt><tt class="py-op">=</tt><tt class="py-name">x</tt> </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">y</tt><tt class="py-op">=</tt><tt class="py-name">y</tt> </tt>
<a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">w</tt><tt class="py-op">=</tt><tt class="py-name">w</tt> </tt>
<a name="L40"></a><tt class="py-lineno"> 40</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">h</tt><tt class="py-op">=</tt><tt class="py-name">h</tt> </tt>
<a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">title</tt><tt class="py-op">=</tt><tt class="py-name">title</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">atomtypes</tt><tt class="py-op">=</tt><tt class="py-name">atomtypes</tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">win</tt><tt class="py-op">=</tt><tt class="py-name">cp4vasp</tt><tt class="py-op">.</tt><tt class="py-name">VisWindow</tt><tt class="py-op">(</tt><tt class="py-name">x</tt><tt class="py-op">,</tt><tt class="py-name">y</tt><tt class="py-op">,</tt><tt class="py-name">w</tt><tt class="py-op">,</tt><tt class="py-name">h</tt><tt class="py-op">,</tt><tt class="py-name">title</tt><tt class="py-op">)</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt>           <tt class="py-op">=</tt> <tt class="py-name">cp4vasp</tt><tt class="py-op">.</tt><tt class="py-name">VisNavDrawer</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt>    <tt class="py-op">=</tt> <tt class="py-name">cp4vasp</tt><tt class="py-op">.</tt><tt class="py-name">VisStructureDrawer</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt>       <tt class="py-op">=</tt> <tt class="py-name">cp4vasp</tt><tt class="py-op">.</tt><tt class="py-name">VisStructureArrowsDrawer</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">)</tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt><tt class="py-op">.</tt><tt id="link-5" class="py-name" targets="Variable p4vasp.GraphCanvas.red=p4vasp.GraphCanvas-module.html#red,Variable p4vasp.GraphPM.red=p4vasp.GraphPM-module.html#red,Variable p4vasp.Structure.DefaultAtomtypesRecord.red=p4vasp.Structure.DefaultAtomtypesRecord-class.html#red,Variable p4vasp.graph.red=p4vasp.graph-module.html#red"><a title="p4vasp.GraphCanvas.red
p4vasp.GraphPM.red
p4vasp.Structure.DefaultAtomtypesRecord.red
p4vasp.graph.red" class="py-name" href="#" onclick="return doclink('link-5', 'red', 'link-5');">red</a></tt>   <tt class="py-op">=</tt><tt class="py-number">0.5</tt> </tt>
<a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt><tt class="py-op">.</tt><tt id="link-6" class="py-name" targets="Variable p4vasp.GraphCanvas.green=p4vasp.GraphCanvas-module.html#green,Variable p4vasp.GraphPM.green=p4vasp.GraphPM-module.html#green,Variable p4vasp.Structure.DefaultAtomtypesRecord.green=p4vasp.Structure.DefaultAtomtypesRecord-class.html#green,Variable p4vasp.graph.green=p4vasp.graph-module.html#green"><a title="p4vasp.GraphCanvas.green
p4vasp.GraphPM.green
p4vasp.Structure.DefaultAtomtypesRecord.green
p4vasp.graph.green" class="py-name" href="#" onclick="return doclink('link-6', 'green', 'link-6');">green</a></tt> <tt class="py-op">=</tt><tt class="py-number">1.0</tt> </tt>
<a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt><tt class="py-op">.</tt><tt id="link-7" class="py-name" targets="Variable p4vasp.GraphCanvas.blue=p4vasp.GraphCanvas-module.html#blue,Variable p4vasp.GraphPM.blue=p4vasp.GraphPM-module.html#blue,Variable p4vasp.Structure.DefaultAtomtypesRecord.blue=p4vasp.Structure.DefaultAtomtypesRecord-class.html#blue,Variable p4vasp.graph.blue=p4vasp.graph-module.html#blue"><a title="p4vasp.GraphCanvas.blue
p4vasp.GraphPM.blue
p4vasp.Structure.DefaultAtomtypesRecord.blue
p4vasp.graph.blue" class="py-name" href="#" onclick="return doclink('link-7', 'blue', 'link-7');">blue</a></tt>  <tt class="py-op">=</tt><tt class="py-number">0.5</tt> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt>     <tt class="py-op">=</tt> <tt class="py-name">cp4vasp</tt><tt class="py-op">.</tt><tt class="py-name">VisIsosurfaceDrawer</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt> <tt class="py-op">=</tt> <tt class="py-name">cp4vasp</tt><tt class="py-op">.</tt><tt class="py-name">VisIsosurfaceDrawer</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L52"></a><tt class="py-lineno"> 52</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-8" class="py-name"><a title="p4vasp.GraphCanvas.red
p4vasp.GraphPM.red
p4vasp.Structure.DefaultAtomtypesRecord.red
p4vasp.graph.red" class="py-name" href="#" onclick="return doclink('link-8', 'red', 'link-5');">red</a></tt>    <tt class="py-op">=</tt> <tt class="py-number">99</tt><tt class="py-op">/</tt><tt class="py-number">255.0</tt> </tt>
<a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-9" class="py-name"><a title="p4vasp.GraphCanvas.green
p4vasp.GraphPM.green
p4vasp.Structure.DefaultAtomtypesRecord.green
p4vasp.graph.green" class="py-name" href="#" onclick="return doclink('link-9', 'green', 'link-6');">green</a></tt>  <tt class="py-op">=</tt> <tt class="py-number">195</tt><tt class="py-op">/</tt><tt class="py-number">255.0</tt> </tt>
<a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-10" class="py-name"><a title="p4vasp.GraphCanvas.blue
p4vasp.GraphPM.blue
p4vasp.Structure.DefaultAtomtypesRecord.blue
p4vasp.graph.blue" class="py-name" href="#" onclick="return doclink('link-10', 'blue', 'link-7');">blue</a></tt>   <tt class="py-op">=</tt> <tt class="py-number">255</tt><tt class="py-op">/</tt><tt class="py-number">255.0</tt> </tt>
<a name="L55"></a><tt class="py-lineno"> 55</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-11" class="py-name"><a title="p4vasp.GraphCanvas.red
p4vasp.GraphPM.red
p4vasp.Structure.DefaultAtomtypesRecord.red
p4vasp.graph.red" class="py-name" href="#" onclick="return doclink('link-11', 'red', 'link-5');">red</a></tt>    <tt class="py-op">=</tt> <tt class="py-number">198</tt><tt class="py-op">/</tt><tt class="py-number">255.0</tt> </tt>
<a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-12" class="py-name"><a title="p4vasp.GraphCanvas.green
p4vasp.GraphPM.green
p4vasp.Structure.DefaultAtomtypesRecord.green
p4vasp.graph.green" class="py-name" href="#" onclick="return doclink('link-12', 'green', 'link-6');">green</a></tt>  <tt class="py-op">=</tt> <tt class="py-number">29</tt><tt class="py-op">/</tt><tt class="py-number">255.0</tt> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-13" class="py-name"><a title="p4vasp.GraphCanvas.blue
p4vasp.GraphPM.blue
p4vasp.Structure.DefaultAtomtypesRecord.blue
p4vasp.graph.blue" class="py-name" href="#" onclick="return doclink('link-13', 'blue', 'link-7');">blue</a></tt>   <tt class="py-op">=</tt> <tt class="py-number">72</tt><tt class="py-op">/</tt><tt class="py-number">255.0</tt> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-14" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.setIsosurfaceLevel()=p4vasp.StructureWindow.StructureWindow-class.html#setIsosurfaceLevel,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.setIsosurfaceLevel()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#setIsosurfaceLevel"><a title="p4vasp.StructureWindow.StructureWindow.setIsosurfaceLevel
p4vasp.applet.STMWindowApplet.STMWindowApplet.setIsosurfaceLevel" class="py-name" href="#" onclick="return doclink('link-14', 'setIsosurfaceLevel', 'link-14');">setIsosurfaceLevel</a></tt><tt class="py-op">(</tt><tt class="py-number">0.0</tt><tt class="py-op">)</tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line"><tt class="py-comment">#    self.setChgcar("/home/orest/work/p4vasp-0.1.2/CHARGTEST")</tt> </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line"><tt class="py-comment">#    self.setChgcar("/fs/home2/odubay/work/p4vasp/p4vasp/CHARGTEST")</tt> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line"> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt><tt class="py-op">.</tt><tt id="link-15" class="py-name" targets="Method p4vasp.Structure.AtomInfo.append()=p4vasp.Structure.AtomInfo-class.html#append,Method p4vasp.Structure.Structure.append()=p4vasp.Structure.Structure-class.html#append,Method p4vasp.cStructure.AtomInfo.append()=p4vasp.cStructure.AtomInfo-class.html#append,Method p4vasp.cStructure.Structure.append()=p4vasp.cStructure.Structure-class.html#append,Method p4vasp.graph.Graph.append()=p4vasp.graph.Graph-class.html#append,Method p4vasp.graph.World.append()=p4vasp.graph.World-class.html#append,Method p4vasp.repository.Repository.append()=p4vasp.repository.Repository-class.html#append"><a title="p4vasp.Structure.AtomInfo.append
p4vasp.Structure.Structure.append
p4vasp.cStructure.AtomInfo.append
p4vasp.cStructure.Structure.append
p4vasp.graph.Graph.append
p4vasp.graph.World.append
p4vasp.repository.Repository.append" class="py-name" href="#" onclick="return doclink('link-15', 'append', 'link-15');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">)</tt> </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt><tt class="py-op">.</tt><tt id="link-16" class="py-name"><a title="p4vasp.Structure.AtomInfo.append
p4vasp.Structure.Structure.append
p4vasp.cStructure.AtomInfo.append
p4vasp.cStructure.Structure.append
p4vasp.graph.Graph.append
p4vasp.graph.World.append
p4vasp.repository.Repository.append" class="py-name" href="#" onclick="return doclink('link-16', 'append', 'link-15');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt><tt class="py-op">)</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt><tt class="py-op">.</tt><tt id="link-17" class="py-name"><a title="p4vasp.Structure.AtomInfo.append
p4vasp.Structure.Structure.append
p4vasp.cStructure.AtomInfo.append
p4vasp.cStructure.Structure.append
p4vasp.graph.Graph.append
p4vasp.graph.World.append
p4vasp.repository.Repository.append" class="py-name" href="#" onclick="return doclink('link-17', 'append', 'link-15');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">)</tt> </tt>
<a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt><tt class="py-op">.</tt><tt id="link-18" class="py-name"><a title="p4vasp.Structure.AtomInfo.append
p4vasp.Structure.Structure.append
p4vasp.cStructure.AtomInfo.append
p4vasp.cStructure.Structure.append
p4vasp.graph.Graph.append
p4vasp.graph.World.append
p4vasp.repository.Repository.append" class="py-name" href="#" onclick="return doclink('link-18', 'append', 'link-15');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt><tt class="py-op">)</tt> </tt>
<a name="L66"></a><tt class="py-lineno"> 66</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">win</tt><tt class="py-op">.</tt><tt class="py-name">setDrawer</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt><tt class="py-op">)</tt> </tt>
<a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure</tt><tt class="py-op">=</tt><tt class="py-name">None</tt> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">visible</tt><tt class="py-op">=</tt><tt class="py-number">1</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">multiple</tt><tt class="py-op">=</tt><tt class="py-op">(</tt><tt class="py-number">1</tt><tt class="py-op">,</tt><tt class="py-number">1</tt><tt class="py-op">,</tt><tt class="py-number">1</tt><tt class="py-op">)</tt> </tt>
<a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dsx</tt><tt class="py-op">=</tt><tt class="py-number">2</tt> </tt>
<a name="L71"></a><tt class="py-lineno"> 71</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dsy</tt><tt class="py-op">=</tt><tt class="py-number">2</tt> </tt>
<a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dsz</tt><tt class="py-op">=</tt><tt class="py-number">2</tt> </tt>
<a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">hide_atoms</tt><tt class="py-op">=</tt><tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L74"></a><tt class="py-lineno"> 74</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">chgcar</tt><tt class="py-op">=</tt><tt class="py-name">None</tt> </tt>
</div><a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line"><tt class="py-comment">#    self.structure_drawer.setCellLineWidth(0)</tt> </tt>
<a name="StructureWindow.getRotmat"></a><div id="StructureWindow.getRotmat-def"><a name="L76"></a><tt class="py-lineno"> 76</tt> <a class="py-toggle" href="#" id="StructureWindow.getRotmat-toggle" onclick="return toggle('StructureWindow.getRotmat');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#getRotmat">getRotmat</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.getRotmat-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.getRotmat-expanded"><a name="L77"></a><tt class="py-lineno"> 77</tt>  <tt class="py-line">        <tt id="link-19" class="py-name" targets="Variable p4vasp.cmatrix.Matrix.m=p4vasp.cmatrix.Matrix-class.html#m"><a title="p4vasp.cmatrix.Matrix.m" class="py-name" href="#" onclick="return doclink('link-19', 'm', 'link-19');">m</a></tt><tt class="py-op">=</tt><tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt id="link-20" class="py-name" targets="Variable p4vasp.paint3d.OpenGLPaint3D.i=p4vasp.paint3d.OpenGLPaint3D-module.html#i"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-20', 'i', 'link-20');">i</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-number">4</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line">            <tt class="py-name">v</tt><tt class="py-op">=</tt><tt class="py-op">[</tt><tt class="py-op">]</tt> </tt>
<a name="L80"></a><tt class="py-lineno"> 80</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt class="py-name">j</tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-number">4</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">                <tt class="py-name">v</tt><tt class="py-op">.</tt><tt id="link-21" class="py-name"><a title="p4vasp.Structure.AtomInfo.append
p4vasp.Structure.Structure.append
p4vasp.cStructure.AtomInfo.append
p4vasp.cStructure.Structure.append
p4vasp.graph.Graph.append
p4vasp.graph.World.append
p4vasp.repository.Repository.append" class="py-name" href="#" onclick="return doclink('link-21', 'append', 'link-15');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt><tt class="py-op">.</tt><tt class="py-name">getRotMatElement</tt><tt class="py-op">(</tt><tt id="link-22" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-22', 'i', 'link-20');">i</a></tt><tt class="py-op">,</tt><tt class="py-name">j</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line">            <tt id="link-23" class="py-name"><a title="p4vasp.cmatrix.Matrix.m" class="py-name" href="#" onclick="return doclink('link-23', 'm', 'link-19');">m</a></tt><tt class="py-op">.</tt><tt id="link-24" class="py-name"><a title="p4vasp.Structure.AtomInfo.append
p4vasp.Structure.Structure.append
p4vasp.cStructure.AtomInfo.append
p4vasp.cStructure.Structure.append
p4vasp.graph.Graph.append
p4vasp.graph.World.append
p4vasp.repository.Repository.append" class="py-name" href="#" onclick="return doclink('link-24', 'append', 'link-15');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">v</tt><tt class="py-op">)</tt> </tt>
<a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-25" class="py-name" targets="Class p4vasp.cmatrix.Matrix=p4vasp.cmatrix.Matrix-class.html,Class p4vasp.matrix.Matrix=p4vasp.matrix.Matrix-class.html"><a title="p4vasp.cmatrix.Matrix
p4vasp.matrix.Matrix" class="py-name" href="#" onclick="return doclink('link-25', 'Matrix', 'link-25');">Matrix</a></tt><tt class="py-op">(</tt><tt id="link-26" class="py-name"><a title="p4vasp.cmatrix.Matrix.m" class="py-name" href="#" onclick="return doclink('link-26', 'm', 'link-19');">m</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L84"></a><tt class="py-lineno"> 84</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.getHiddenAtoms"></a><div id="StructureWindow.getHiddenAtoms-def"><a name="L85"></a><tt class="py-lineno"> 85</tt> <a class="py-toggle" href="#" id="StructureWindow.getHiddenAtoms-toggle" onclick="return toggle('StructureWindow.getHiddenAtoms');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#getHiddenAtoms">getHiddenAtoms</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.getHiddenAtoms-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.getHiddenAtoms-expanded"><a name="L86"></a><tt class="py-lineno"> 86</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">hide_atoms</tt> </tt>
</div><a name="StructureWindow.setHiddenAtoms"></a><div id="StructureWindow.setHiddenAtoms-def"><a name="L87"></a><tt class="py-lineno"> 87</tt> <a class="py-toggle" href="#" id="StructureWindow.setHiddenAtoms-toggle" onclick="return toggle('StructureWindow.setHiddenAtoms');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#setHiddenAtoms">setHiddenAtoms</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">l</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.setHiddenAtoms-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.setHiddenAtoms-expanded"><a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">hide_atoms</tt><tt class="py-op">=</tt><tt class="py-name">l</tt> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">            <tt class="py-name">info</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt class="py-name">info</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt id="link-27" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-27', 'i', 'link-20');">i</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">info</tt><tt class="py-op">.</tt><tt id="link-28" class="py-name" targets="Method p4vasp.cStructure.Structure.len()=p4vasp.cStructure.Structure-class.html#len"><a title="p4vasp.cStructure.Structure.len" class="py-name" href="#" onclick="return doclink('link-28', 'len', 'link-28');">len</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line">                <tt class="py-name">info</tt><tt class="py-op">.</tt><tt id="link-29" class="py-name" targets="Method p4vasp.Array.Array.getRecord()=p4vasp.Array.Array-class.html#getRecord,Method p4vasp.Array.ArrayRecord.getRecord()=p4vasp.Array.ArrayRecord-class.html#getRecord,Method p4vasp.Structure.AtomInfo.getRecord()=p4vasp.Structure.AtomInfo-class.html#getRecord,Method p4vasp.Structure.AtomtypesArray.getRecord()=p4vasp.Structure.AtomtypesArray-class.html#getRecord,Method p4vasp.Structure.Structure.getRecord()=p4vasp.Structure.Structure-class.html#getRecord,Method p4vasp.cStructure.AtomInfo.getRecord()=p4vasp.cStructure.AtomInfo-class.html#getRecord,Method p4vasp.cStructure.Structure.getRecord()=p4vasp.cStructure.Structure-class.html#getRecord"><a title="p4vasp.Array.Array.getRecord
p4vasp.Array.ArrayRecord.getRecord
p4vasp.Structure.AtomInfo.getRecord
p4vasp.Structure.AtomtypesArray.getRecord
p4vasp.Structure.Structure.getRecord
p4vasp.cStructure.AtomInfo.getRecord
p4vasp.cStructure.Structure.getRecord" class="py-name" href="#" onclick="return doclink('link-29', 'getRecord', 'link-29');">getRecord</a></tt><tt class="py-op">(</tt><tt id="link-30" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-30', 'i', 'link-20');">i</a></tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">hidden</tt><tt class="py-op">=</tt><tt class="py-number">0</tt> </tt>
<a name="L93"></a><tt class="py-lineno"> 93</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt id="link-31" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-31', 'i', 'link-20');">i</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">hide_atoms</tt><tt class="py-op">:</tt> </tt>
<a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt id="link-32" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-32', 'i', 'link-20');">i</a></tt><tt class="py-op">&gt;=</tt><tt class="py-number">0</tt> <tt class="py-keyword">and</tt> <tt id="link-33" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-33', 'i', 'link-20');">i</a></tt><tt class="py-op">&lt;</tt><tt id="link-34" class="py-name"><a title="p4vasp.cStructure.Structure.len" class="py-name" href="#" onclick="return doclink('link-34', 'len', 'link-28');">len</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">                    <tt class="py-name">info</tt><tt class="py-op">.</tt><tt id="link-35" class="py-name"><a title="p4vasp.Array.Array.getRecord
p4vasp.Array.ArrayRecord.getRecord
p4vasp.Structure.AtomInfo.getRecord
p4vasp.Structure.AtomtypesArray.getRecord
p4vasp.Structure.Structure.getRecord
p4vasp.cStructure.AtomInfo.getRecord
p4vasp.cStructure.Structure.getRecord" class="py-name" href="#" onclick="return doclink('link-35', 'getRecord', 'link-29');">getRecord</a></tt><tt class="py-op">(</tt><tt id="link-36" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-36', 'i', 'link-20');">i</a></tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">hidden</tt><tt class="py-op">=</tt><tt class="py-number">1</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt id="link-37" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.updateStructure()=p4vasp.StructureWindow.StructureWindow-class.html#updateStructure,Method p4vasp.applet.BuilderApplet.BuilderApplet.updateStructure()=p4vasp.applet.BuilderApplet.BuilderApplet-class.html#updateStructure,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.updateStructure()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#updateStructure"><a title="p4vasp.StructureWindow.StructureWindow.updateStructure
p4vasp.applet.BuilderApplet.BuilderApplet.updateStructure
p4vasp.applet.STMWindowApplet.STMWindowApplet.updateStructure" class="py-name" href="#" onclick="return doclink('link-37', 'updateStructure', 'link-37');">updateStructure</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.setCellColor"></a><div id="StructureWindow.setCellColor-def"><a name="L98"></a><tt class="py-lineno"> 98</tt> <a class="py-toggle" href="#" id="StructureWindow.setCellColor-toggle" onclick="return toggle('StructureWindow.setCellColor');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#setCellColor">setCellColor</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">r</tt><tt class="py-op">,</tt><tt class="py-param">g</tt><tt class="py-op">,</tt><tt class="py-param">b</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.setCellColor-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.setCellColor-expanded"><a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt id="link-38" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.setCellColor()=p4vasp.StructureWindow.StructureWindow-class.html#setCellColor,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.setCellColor()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#setCellColor"><a title="p4vasp.StructureWindow.StructureWindow.setCellColor
p4vasp.applet.STMWindowApplet.STMWindowApplet.setCellColor" class="py-name" href="#" onclick="return doclink('link-38', 'setCellColor', 'link-38');">setCellColor</a></tt><tt class="py-op">(</tt><tt class="py-name">r</tt><tt class="py-op">,</tt><tt class="py-name">g</tt><tt class="py-op">,</tt><tt class="py-name">b</tt><tt class="py-op">)</tt> </tt>
</div><a name="StructureWindow.setBackground"></a><div id="StructureWindow.setBackground-def"><a name="L100"></a><tt class="py-lineno">100</tt> <a class="py-toggle" href="#" id="StructureWindow.setBackground-toggle" onclick="return toggle('StructureWindow.setBackground');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#setBackground">setBackground</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">r</tt><tt class="py-op">,</tt><tt class="py-param">g</tt><tt class="py-op">,</tt><tt class="py-param">b</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.setBackground-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.setBackground-expanded"><a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt><tt class="py-op">.</tt><tt id="link-39" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.setBackground()=p4vasp.StructureWindow.StructureWindow-class.html#setBackground,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.setBackground()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#setBackground"><a title="p4vasp.StructureWindow.StructureWindow.setBackground
p4vasp.applet.STMWindowApplet.STMWindowApplet.setBackground" class="py-name" href="#" onclick="return doclink('link-39', 'setBackground', 'link-39');">setBackground</a></tt><tt class="py-op">(</tt><tt class="py-name">r</tt><tt class="py-op">,</tt><tt class="py-name">g</tt><tt class="py-op">,</tt><tt class="py-name">b</tt><tt class="py-op">)</tt> </tt>
</div><a name="StructureWindow.getBackground"></a><div id="StructureWindow.getBackground-def"><a name="L102"></a><tt class="py-lineno">102</tt> <a class="py-toggle" href="#" id="StructureWindow.getBackground-toggle" onclick="return toggle('StructureWindow.getBackground');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#getBackground">getBackground</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.getBackground-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.getBackground-expanded"><a name="L103"></a><tt class="py-lineno">103</tt>  <tt class="py-line">        <tt id="link-40" class="py-name" targets="Variable p4vasp.cmatrix.Matrix.n=p4vasp.cmatrix.Matrix-class.html#n,Variable p4vasp.paint3d.OpenGLPaint3D.BasicOpenGLPaint3D.n=p4vasp.paint3d.OpenGLPaint3D.BasicOpenGLPaint3D-class.html#n"><a title="p4vasp.cmatrix.Matrix.n
p4vasp.paint3d.OpenGLPaint3D.BasicOpenGLPaint3D.n" class="py-name" href="#" onclick="return doclink('link-40', 'n', 'link-40');">n</a></tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt> </tt>
<a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-op">(</tt><tt id="link-41" class="py-name"><a title="p4vasp.cmatrix.Matrix.n
p4vasp.paint3d.OpenGLPaint3D.BasicOpenGLPaint3D.n" class="py-name" href="#" onclick="return doclink('link-41', 'n', 'link-40');">n</a></tt><tt class="py-op">.</tt><tt class="py-name">bg_red</tt><tt class="py-op">,</tt><tt id="link-42" class="py-name"><a title="p4vasp.cmatrix.Matrix.n
p4vasp.paint3d.OpenGLPaint3D.BasicOpenGLPaint3D.n" class="py-name" href="#" onclick="return doclink('link-42', 'n', 'link-40');">n</a></tt><tt class="py-op">.</tt><tt class="py-name">bg_green</tt><tt class="py-op">,</tt><tt id="link-43" class="py-name"><a title="p4vasp.cmatrix.Matrix.n
p4vasp.paint3d.OpenGLPaint3D.BasicOpenGLPaint3D.n" class="py-name" href="#" onclick="return doclink('link-43', 'n', 'link-40');">n</a></tt><tt class="py-op">.</tt><tt class="py-name">bg_blue</tt><tt class="py-op">)</tt> </tt>
</div><a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.setChgcar"></a><div id="StructureWindow.setChgcar-def"><a name="L106"></a><tt class="py-lineno">106</tt> <a class="py-toggle" href="#" id="StructureWindow.setChgcar-toggle" onclick="return toggle('StructureWindow.setChgcar');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#setChgcar">setChgcar</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">c</tt><tt class="py-op">,</tt><tt class="py-param">update_structure</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.setChgcar-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.setChgcar-expanded"><a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">type</tt><tt class="py-op">(</tt><tt id="link-44" class="py-name" targets="Variable p4vasp.SystemPM.c=p4vasp.SystemPM-module.html#c"><a title="p4vasp.SystemPM.c" class="py-name" href="#" onclick="return doclink('link-44', 'c', 'link-44');">c</a></tt><tt class="py-op">)</tt><tt class="py-op">==</tt><tt class="py-name">type</tt><tt class="py-op">(</tt><tt class="py-string">""</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">chgcar</tt><tt class="py-op">=</tt><tt class="py-name">cp4vasp</tt><tt class="py-op">.</tt><tt class="py-name">Chgcar</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">chgcar</tt><tt class="py-op">.</tt><tt id="link-45" class="py-name" targets="Method p4vasp.Dictionary.Incar.read()=p4vasp.Dictionary.Incar-class.html#read,Method p4vasp.GraphPM.GraphProperty.read()=p4vasp.GraphPM.GraphProperty-class.html#read,Method p4vasp.Property.Property.read()=p4vasp.Property.Property-class.html#read,Method p4vasp.Structure.Structure.read()=p4vasp.Structure.Structure-class.html#read,Method p4vasp.cStructure.Structure.read()=p4vasp.cStructure.Structure-class.html#read,Method p4vasp.util.Parseable.read()=p4vasp.util.Parseable-class.html#read"><a title="p4vasp.Dictionary.Incar.read
p4vasp.GraphPM.GraphProperty.read
p4vasp.Property.Property.read
p4vasp.Structure.Structure.read
p4vasp.cStructure.Structure.read
p4vasp.util.Parseable.read" class="py-name" href="#" onclick="return doclink('link-45', 'read', 'link-45');">read</a></tt><tt class="py-op">(</tt><tt id="link-46" class="py-name"><a title="p4vasp.SystemPM.c" class="py-name" href="#" onclick="return doclink('link-46', 'c', 'link-44');">c</a></tt><tt class="py-op">)</tt> </tt>
<a name="L110"></a><tt class="py-lineno">110</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">chgcar</tt><tt class="py-op">=</tt><tt id="link-47" class="py-name"><a title="p4vasp.SystemPM.c" class="py-name" href="#" onclick="return doclink('link-47', 'c', 'link-44');">c</a></tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">chgcar</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">chgcar</tt><tt class="py-op">.</tt><tt class="py-name">structure</tt><tt class="py-op">.</tt><tt id="link-48" class="py-name" targets="Method p4vasp.Structure.Structure.correctScaling()=p4vasp.Structure.Structure-class.html#correctScaling,Method p4vasp.cStructure.Structure.correctScaling()=p4vasp.cStructure.Structure-class.html#correctScaling"><a title="p4vasp.Structure.Structure.correctScaling
p4vasp.cStructure.Structure.correctScaling" class="py-name" href="#" onclick="return doclink('link-48', 'correctScaling', 'link-48');">correctScaling</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line">            <tt class="py-name">nx</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">chgcar</tt><tt class="py-op">.</tt><tt class="py-name">nx</tt> </tt>
<a name="L115"></a><tt class="py-lineno">115</tt>  <tt class="py-line">            <tt class="py-name">ny</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">chgcar</tt><tt class="py-op">.</tt><tt class="py-name">ny</tt> </tt>
<a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line">            <tt class="py-name">nz</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">chgcar</tt><tt class="py-op">.</tt><tt class="py-name">nz</tt> </tt>
<a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt class="py-name">dsx</tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">max</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dsx</tt><tt class="py-op">,</tt><tt class="py-number">1</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-number">0</tt><tt class="py-op">,</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-name">nx</tt><tt class="py-op">%</tt><tt class="py-name">dsx</tt><tt class="py-op">==</tt><tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line">                    <tt class="py-keyword">break</tt> </tt>
<a name="L120"></a><tt class="py-lineno">120</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt class="py-name">dsy</tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">max</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dsy</tt><tt class="py-op">,</tt><tt class="py-number">1</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-number">0</tt><tt class="py-op">,</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-name">ny</tt><tt class="py-op">%</tt><tt class="py-name">dsy</tt><tt class="py-op">==</tt><tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line">                    <tt class="py-keyword">break</tt> </tt>
<a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt class="py-name">dsz</tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">max</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">dsz</tt><tt class="py-op">,</tt><tt class="py-number">1</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-number">0</tt><tt class="py-op">,</tt><tt class="py-op">-</tt><tt class="py-number">1</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt class="py-name">nz</tt><tt class="py-op">%</tt><tt class="py-name">dsz</tt><tt class="py-op">==</tt><tt class="py-number">0</tt><tt class="py-op">:</tt> </tt>
<a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line">                    <tt class="py-keyword">break</tt> </tt>
<a name="L126"></a><tt class="py-lineno">126</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt><tt class="py-op">(</tt><tt class="py-name">dsx</tt><tt class="py-op">==</tt><tt class="py-number">1</tt> <tt class="py-keyword">and</tt> <tt class="py-name">dsy</tt><tt class="py-op">==</tt><tt class="py-number">1</tt> <tt class="py-keyword">and</tt> <tt class="py-name">dsz</tt><tt class="py-op">==</tt><tt class="py-number">1</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line">                <tt id="link-49" class="py-name" targets="Function p4vasp.msg()=p4vasp-module.html#msg"><a title="p4vasp.msg" class="py-name" href="#" onclick="return doclink('link-49', 'msg', 'link-49');">msg</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt id="link-50" class="py-name" targets="Method p4vasp.message.MessageDriver.status()=p4vasp.message.MessageDriver-class.html#status,Method p4vasp.schedule'.Process.status()=p4vasp.schedule%27.Process-class.html#status"><a title="p4vasp.message.MessageDriver.status
p4vasp.schedule'.Process.status" class="py-name" href="#" onclick="return doclink('link-50', 'status', 'link-50');">status</a></tt><tt class="py-op">(</tt><tt class="py-string">"Downsampling: %d %d %d"</tt><tt class="py-op">%</tt><tt class="py-op">(</tt><tt class="py-name">dsx</tt><tt class="py-op">,</tt><tt class="py-name">dsy</tt><tt class="py-op">,</tt><tt class="py-name">dsz</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">chgcar</tt><tt class="py-op">.</tt><tt class="py-name">downSampleByFactors</tt><tt class="py-op">(</tt><tt class="py-name">dsx</tt><tt class="py-op">,</tt><tt class="py-name">dsy</tt><tt class="py-op">,</tt><tt class="py-name">dsz</tt><tt class="py-op">)</tt> </tt>
<a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-51" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.setChgcar()=p4vasp.StructureWindow.StructureWindow-class.html#setChgcar,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.setChgcar()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#setChgcar"><a title="p4vasp.StructureWindow.StructureWindow.setChgcar
p4vasp.applet.STMWindowApplet.STMWindowApplet.setChgcar" class="py-name" href="#" onclick="return doclink('link-51', 'setChgcar', 'link-51');">setChgcar</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">chgcar</tt><tt class="py-op">)</tt> </tt>
<a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-52" class="py-name"><a title="p4vasp.StructureWindow.StructureWindow.setChgcar
p4vasp.applet.STMWindowApplet.STMWindowApplet.setChgcar" class="py-name" href="#" onclick="return doclink('link-52', 'setChgcar', 'link-51');">setChgcar</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">chgcar</tt><tt class="py-op">)</tt> </tt>
<a name="L131"></a><tt class="py-lineno">131</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">chgcar</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">update_structure</tt><tt class="py-op">:</tt> </tt>
<a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line">                <tt class="py-name">s</tt><tt class="py-op">=</tt><tt id="link-53" class="py-name"><a title="p4vasp" class="py-name" href="#" onclick="return doclink('link-53', 'p4vasp', 'link-0');">p4vasp</a></tt><tt class="py-op">.</tt><tt id="link-54" class="py-name"><a title="p4vasp.cStructure" class="py-name" href="#" onclick="return doclink('link-54', 'cStructure', 'link-1');">cStructure</a></tt><tt class="py-op">.</tt><tt id="link-55" class="py-name" targets="Module p4vasp.Structure=p4vasp.Structure-module.html,Class p4vasp.Structure.Structure=p4vasp.Structure.Structure-class.html,Class p4vasp.cStructure.Structure=p4vasp.cStructure.Structure-class.html"><a title="p4vasp.Structure
p4vasp.Structure.Structure
p4vasp.cStructure.Structure" class="py-name" href="#" onclick="return doclink('link-55', 'Structure', 'link-55');">Structure</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line">                <tt class="py-name">s</tt><tt class="py-op">.</tt><tt id="link-56" class="py-name" targets="Method p4vasp.Structure.Structure.setStructure()=p4vasp.Structure.Structure-class.html#setStructure,Method p4vasp.StructureWindow.StructureWindow.setStructure()=p4vasp.StructureWindow.StructureWindow-class.html#setStructure,Method p4vasp.applet.BuilderApplet.StructureTreeModel.setStructure()=p4vasp.applet.BuilderApplet.StructureTreeModel-class.html#setStructure,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.setStructure()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#setStructure,Method p4vasp.applet.StructureApplet.StructureApplet.setStructure()=p4vasp.applet.StructureApplet.StructureApplet-class.html#setStructure,Method p4vasp.applet.StructureWindowApplet.StructureWindowApplet.setStructure()=p4vasp.applet.StructureWindowApplet.StructureWindowApplet-class.html#setStructure,Method p4vasp.cStructure.Structure.setStructure()=p4vasp.cStructure.Structure-class.html#setStructure"><a title="p4vasp.Structure.Structure.setStructure
p4vasp.StructureWindow.StructureWindow.setStructure
p4vasp.applet.BuilderApplet.StructureTreeModel.setStructure
p4vasp.applet.STMWindowApplet.STMWindowApplet.setStructure
p4vasp.applet.StructureApplet.StructureApplet.setStructure
p4vasp.applet.StructureWindowApplet.StructureWindowApplet.setStructure
p4vasp.cStructure.Structure.setStructure" class="py-name" href="#" onclick="return doclink('link-56', 'setStructure', 'link-56');">setStructure</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">chgcar</tt><tt class="py-op">.</tt><tt class="py-name">structure</tt><tt class="py-op">)</tt> </tt>
<a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-57" class="py-name"><a title="p4vasp.Structure.Structure.setStructure
p4vasp.StructureWindow.StructureWindow.setStructure
p4vasp.applet.BuilderApplet.StructureTreeModel.setStructure
p4vasp.applet.STMWindowApplet.STMWindowApplet.setStructure
p4vasp.applet.StructureApplet.StructureApplet.setStructure
p4vasp.applet.StructureWindowApplet.StructureWindowApplet.setStructure
p4vasp.cStructure.Structure.setStructure" class="py-name" href="#" onclick="return doclink('link-57', 'setStructure', 'link-56');">setStructure</a></tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">)</tt> </tt>
</div><a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.setIsosurfaceLevel"></a><div id="StructureWindow.setIsosurfaceLevel-def"><a name="L137"></a><tt class="py-lineno">137</tt> <a class="py-toggle" href="#" id="StructureWindow.setIsosurfaceLevel-toggle" onclick="return toggle('StructureWindow.setIsosurfaceLevel');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#setIsosurfaceLevel">setIsosurfaceLevel</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">l</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.setIsosurfaceLevel-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.setIsosurfaceLevel-expanded"><a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">.</tt><tt class="py-name">setLevel</tt><tt class="py-op">(</tt><tt class="py-name">l</tt><tt class="py-op">)</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt><tt class="py-op">.</tt><tt class="py-name">setLevel</tt><tt class="py-op">(</tt><tt class="py-op">-</tt><tt class="py-name">l</tt><tt class="py-op">)</tt> </tt>
</div><a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.getIsosurfaceLevel"></a><div id="StructureWindow.getIsosurfaceLevel-def"><a name="L141"></a><tt class="py-lineno">141</tt> <a class="py-toggle" href="#" id="StructureWindow.getIsosurfaceLevel-toggle" onclick="return toggle('StructureWindow.getIsosurfaceLevel');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#getIsosurfaceLevel">getIsosurfaceLevel</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.getIsosurfaceLevel-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.getIsosurfaceLevel-expanded"><a name="L142"></a><tt class="py-lineno">142</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">.</tt><tt class="py-name">getLevel</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L143"></a><tt class="py-lineno">143</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.setMultiple"></a><div id="StructureWindow.setMultiple-def"><a name="L144"></a><tt class="py-lineno">144</tt> <a class="py-toggle" href="#" id="StructureWindow.setMultiple-toggle" onclick="return toggle('StructureWindow.setMultiple');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#setMultiple">setMultiple</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">a</tt><tt class="py-op">,</tt><tt class="py-param">b</tt><tt class="py-op">,</tt><tt class="py-param">c</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.setMultiple-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.setMultiple-expanded"><a name="L145"></a><tt class="py-lineno">145</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">multiple</tt><tt class="py-op">=</tt><tt class="py-op">(</tt><tt class="py-name">a</tt><tt class="py-op">,</tt><tt class="py-name">b</tt><tt class="py-op">,</tt><tt id="link-58" class="py-name"><a title="p4vasp.SystemPM.c" class="py-name" href="#" onclick="return doclink('link-58', 'c', 'link-44');">c</a></tt><tt class="py-op">)</tt> </tt>
<a name="L146"></a><tt class="py-lineno">146</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt id="link-59" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.setMultiple()=p4vasp.StructureWindow.StructureWindow-class.html#setMultiple,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.setMultiple()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#setMultiple"><a title="p4vasp.StructureWindow.StructureWindow.setMultiple
p4vasp.applet.STMWindowApplet.STMWindowApplet.setMultiple" class="py-name" href="#" onclick="return doclink('link-59', 'setMultiple', 'link-59');">setMultiple</a></tt><tt class="py-op">(</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">a</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">b</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt id="link-60" class="py-name"><a title="p4vasp.SystemPM.c" class="py-name" href="#" onclick="return doclink('link-60', 'c', 'link-44');">c</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L147"></a><tt class="py-lineno">147</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-61" class="py-name"><a title="p4vasp.StructureWindow.StructureWindow.setMultiple
p4vasp.applet.STMWindowApplet.STMWindowApplet.setMultiple" class="py-name" href="#" onclick="return doclink('link-61', 'setMultiple', 'link-59');">setMultiple</a></tt><tt class="py-op">(</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">a</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">b</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt id="link-62" class="py-name"><a title="p4vasp.SystemPM.c" class="py-name" href="#" onclick="return doclink('link-62', 'c', 'link-44');">c</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L148"></a><tt class="py-lineno">148</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-63" class="py-name"><a title="p4vasp.StructureWindow.StructureWindow.setMultiple
p4vasp.applet.STMWindowApplet.STMWindowApplet.setMultiple" class="py-name" href="#" onclick="return doclink('link-63', 'setMultiple', 'link-59');">setMultiple</a></tt><tt class="py-op">(</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">a</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">b</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-name">int</tt><tt class="py-op">(</tt><tt id="link-64" class="py-name"><a title="p4vasp.SystemPM.c" class="py-name" href="#" onclick="return doclink('link-64', 'c', 'link-44');">c</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
</div><a name="StructureWindow.getMultiple"></a><div id="StructureWindow.getMultiple-def"><a name="L149"></a><tt class="py-lineno">149</tt> <a class="py-toggle" href="#" id="StructureWindow.getMultiple-toggle" onclick="return toggle('StructureWindow.getMultiple');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#getMultiple">getMultiple</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.getMultiple-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.getMultiple-expanded"><a name="L150"></a><tt class="py-lineno">150</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">multiple</tt> </tt>
</div><a name="StructureWindow.setStructure"></a><div id="StructureWindow.setStructure-def"><a name="L151"></a><tt class="py-lineno">151</tt> <a class="py-toggle" href="#" id="StructureWindow.setStructure-toggle" onclick="return toggle('StructureWindow.setStructure');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#setStructure">setStructure</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">structure</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.setStructure-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.setStructure-expanded"><a name="L152"></a><tt class="py-lineno">152</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure</tt><tt class="py-op">=</tt><tt class="py-name">structure</tt> </tt>
<a name="L153"></a><tt class="py-lineno">153</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">structure</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt> <tt class="py-keyword">or</tt> <tt class="py-keyword">not</tt> <tt id="link-65" class="py-name"><a title="p4vasp.cStructure.Structure.len" class="py-name" href="#" onclick="return doclink('link-65', 'len', 'link-28');">len</a></tt><tt class="py-op">(</tt><tt class="py-name">structure</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L154"></a><tt class="py-lineno">154</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt id="link-66" class="py-name"><a title="p4vasp.Structure.Structure.setStructure
p4vasp.StructureWindow.StructureWindow.setStructure
p4vasp.applet.BuilderApplet.StructureTreeModel.setStructure
p4vasp.applet.STMWindowApplet.STMWindowApplet.setStructure
p4vasp.applet.StructureApplet.StructureApplet.setStructure
p4vasp.applet.StructureWindowApplet.StructureWindowApplet.setStructure
p4vasp.cStructure.Structure.setStructure" class="py-name" href="#" onclick="return doclink('link-66', 'setStructure', 'link-56');">setStructure</a></tt><tt class="py-op">(</tt><tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
<a name="L155"></a><tt class="py-lineno">155</tt>  <tt class="py-line">        <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L156"></a><tt class="py-lineno">156</tt>  <tt class="py-line">            <tt class="py-name">structure</tt><tt class="py-op">=</tt><tt id="link-67" class="py-name"><a title="p4vasp" class="py-name" href="#" onclick="return doclink('link-67', 'p4vasp', 'link-0');">p4vasp</a></tt><tt class="py-op">.</tt><tt id="link-68" class="py-name"><a title="p4vasp.cStructure" class="py-name" href="#" onclick="return doclink('link-68', 'cStructure', 'link-1');">cStructure</a></tt><tt class="py-op">.</tt><tt id="link-69" class="py-name"><a title="p4vasp.Structure
p4vasp.Structure.Structure
p4vasp.cStructure.Structure" class="py-name" href="#" onclick="return doclink('link-69', 'Structure', 'link-55');">Structure</a></tt><tt class="py-op">(</tt><tt class="py-name">structure</tt><tt class="py-op">)</tt> </tt>
<a name="L157"></a><tt class="py-lineno">157</tt>  <tt class="py-line"> </tt>
<a name="L158"></a><tt class="py-lineno">158</tt>  <tt class="py-line"><tt class="py-comment">#      print "set structure - scaling",structure.scaling</tt> </tt>
<a name="L159"></a><tt class="py-lineno">159</tt>  <tt class="py-line">            <tt class="py-name">structure</tt><tt class="py-op">.</tt><tt id="link-70" class="py-name"><a title="p4vasp.Structure.Structure.correctScaling
p4vasp.cStructure.Structure.correctScaling" class="py-name" href="#" onclick="return doclink('link-70', 'correctScaling', 'link-48');">correctScaling</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L160"></a><tt class="py-lineno">160</tt>  <tt class="py-line"><tt class="py-comment">#      print "set structure - scaling",structure.scaling</tt> </tt>
<a name="L161"></a><tt class="py-lineno">161</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">atomtypes</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L162"></a><tt class="py-lineno">162</tt>  <tt class="py-line">                <tt class="py-name">structure</tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">.</tt><tt id="link-71" class="py-name" targets="Method p4vasp.Structure.AtomInfo.fillAttributesWithTable()=p4vasp.Structure.AtomInfo-class.html#fillAttributesWithTable,Method p4vasp.Structure.AtomtypesArray.fillAttributesWithTable()=p4vasp.Structure.AtomtypesArray-class.html#fillAttributesWithTable,Method p4vasp.cStructure.AtomInfo.fillAttributesWithTable()=p4vasp.cStructure.AtomInfo-class.html#fillAttributesWithTable"><a title="p4vasp.Structure.AtomInfo.fillAttributesWithTable
p4vasp.Structure.AtomtypesArray.fillAttributesWithTable
p4vasp.cStructure.AtomInfo.fillAttributesWithTable" class="py-name" href="#" onclick="return doclink('link-71', 'fillAttributesWithTable', 'link-71');">fillAttributesWithTable</a></tt><tt class="py-op">(</tt><tt id="link-72" class="py-name"><a title="p4vasp" class="py-name" href="#" onclick="return doclink('link-72', 'p4vasp', 'link-0');">p4vasp</a></tt><tt class="py-op">.</tt><tt id="link-73" class="py-name"><a title="p4vasp.cStructure" class="py-name" href="#" onclick="return doclink('link-73', 'cStructure', 'link-1');">cStructure</a></tt><tt class="py-op">.</tt><tt id="link-74" class="py-name" targets="Class p4vasp.Structure.AtomInfo=p4vasp.Structure.AtomInfo-class.html,Class p4vasp.cStructure.AtomInfo=p4vasp.cStructure.AtomInfo-class.html"><a title="p4vasp.Structure.AtomInfo
p4vasp.cStructure.AtomInfo" class="py-name" href="#" onclick="return doclink('link-74', 'AtomInfo', 'link-74');">AtomInfo</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">atomtypes</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L163"></a><tt class="py-lineno">163</tt>  <tt class="py-line">            <tt class="py-keyword">print</tt> <tt class="py-string">"SETSTRUCTURE A"</tt><tt class="py-op">,</tt><tt class="py-name">structure</tt><tt class="py-op">.</tt><tt id="link-75" class="py-name" targets="Method p4vasp.cStructure.Structure.toString()=p4vasp.cStructure.Structure-class.html#toString,Method p4vasp.util.ToString.toString()=p4vasp.util.ToString-class.html#toString"><a title="p4vasp.cStructure.Structure.toString
p4vasp.util.ToString.toString" class="py-name" href="#" onclick="return doclink('link-75', 'toString', 'link-75');">toString</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L164"></a><tt class="py-lineno">164</tt>  <tt class="py-line">            <tt class="py-keyword">print</tt> <tt class="py-string">"INFO"</tt><tt class="py-op">,</tt><tt id="link-76" class="py-name"><a title="p4vasp.cStructure.Structure.len" class="py-name" href="#" onclick="return doclink('link-76', 'len', 'link-28');">len</a></tt><tt class="py-op">(</tt><tt class="py-name">structure</tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-name">structure</tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">.</tt><tt class="py-name">getNatoms</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L165"></a><tt class="py-lineno">165</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt id="link-77" class="py-name"><a title="p4vasp.Structure.Structure.setStructure
p4vasp.StructureWindow.StructureWindow.setStructure
p4vasp.applet.BuilderApplet.StructureTreeModel.setStructure
p4vasp.applet.STMWindowApplet.STMWindowApplet.setStructure
p4vasp.applet.StructureApplet.StructureApplet.setStructure
p4vasp.applet.StructureWindowApplet.StructureWindowApplet.setStructure
p4vasp.cStructure.Structure.setStructure" class="py-name" href="#" onclick="return doclink('link-77', 'setStructure', 'link-56');">setStructure</a></tt><tt class="py-op">(</tt><tt class="py-name">structure</tt><tt class="py-op">.</tt><tt class="py-name">this</tt><tt class="py-op">)</tt> </tt>
<a name="L166"></a><tt class="py-lineno">166</tt>  <tt class="py-line">            <tt class="py-keyword">print</tt> <tt class="py-string">"SETSTRUCTURE B"</tt><tt class="py-op">,</tt><tt class="py-name">structure</tt><tt class="py-op">.</tt><tt id="link-78" class="py-name"><a title="p4vasp.cStructure.Structure.toString
p4vasp.util.ToString.toString" class="py-name" href="#" onclick="return doclink('link-78', 'toString', 'link-75');">toString</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L167"></a><tt class="py-lineno">167</tt>  <tt class="py-line">            <tt class="py-keyword">print</tt> <tt class="py-string">"INFO"</tt><tt class="py-op">,</tt><tt id="link-79" class="py-name"><a title="p4vasp.cStructure.Structure.len" class="py-name" href="#" onclick="return doclink('link-79', 'len', 'link-28');">len</a></tt><tt class="py-op">(</tt><tt class="py-name">structure</tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-name">structure</tt><tt class="py-op">.</tt><tt class="py-name">info</tt><tt class="py-op">.</tt><tt class="py-name">getNatoms</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L168"></a><tt class="py-lineno">168</tt>  <tt class="py-line">            <tt class="py-name">info</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt class="py-name">info</tt> </tt>
<a name="L169"></a><tt class="py-lineno">169</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt id="link-80" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-80', 'i', 'link-20');">i</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">info</tt><tt class="py-op">.</tt><tt id="link-81" class="py-name"><a title="p4vasp.cStructure.Structure.len" class="py-name" href="#" onclick="return doclink('link-81', 'len', 'link-28');">len</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L170"></a><tt class="py-lineno">170</tt>  <tt class="py-line">                <tt class="py-name">info</tt><tt class="py-op">.</tt><tt id="link-82" class="py-name"><a title="p4vasp.Array.Array.getRecord
p4vasp.Array.ArrayRecord.getRecord
p4vasp.Structure.AtomInfo.getRecord
p4vasp.Structure.AtomtypesArray.getRecord
p4vasp.Structure.Structure.getRecord
p4vasp.cStructure.AtomInfo.getRecord
p4vasp.cStructure.Structure.getRecord" class="py-name" href="#" onclick="return doclink('link-82', 'getRecord', 'link-29');">getRecord</a></tt><tt class="py-op">(</tt><tt id="link-83" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-83', 'i', 'link-20');">i</a></tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">hidden</tt><tt class="py-op">=</tt><tt class="py-number">0</tt> </tt>
<a name="L171"></a><tt class="py-lineno">171</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt id="link-84" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-84', 'i', 'link-20');">i</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">hide_atoms</tt><tt class="py-op">:</tt> </tt>
<a name="L172"></a><tt class="py-lineno">172</tt>  <tt class="py-line">                <tt class="py-keyword">if</tt> <tt id="link-85" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-85', 'i', 'link-20');">i</a></tt><tt class="py-op">&gt;=</tt><tt class="py-number">0</tt> <tt class="py-keyword">and</tt> <tt id="link-86" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-86', 'i', 'link-20');">i</a></tt><tt class="py-op">&lt;</tt><tt id="link-87" class="py-name"><a title="p4vasp.cStructure.Structure.len" class="py-name" href="#" onclick="return doclink('link-87', 'len', 'link-28');">len</a></tt><tt class="py-op">(</tt><tt class="py-name">structure</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L173"></a><tt class="py-lineno">173</tt>  <tt class="py-line">                    <tt class="py-name">info</tt><tt class="py-op">.</tt><tt id="link-88" class="py-name"><a title="p4vasp.Array.Array.getRecord
p4vasp.Array.ArrayRecord.getRecord
p4vasp.Structure.AtomInfo.getRecord
p4vasp.Structure.AtomtypesArray.getRecord
p4vasp.Structure.Structure.getRecord
p4vasp.cStructure.AtomInfo.getRecord
p4vasp.cStructure.Structure.getRecord" class="py-name" href="#" onclick="return doclink('link-88', 'getRecord', 'link-29');">getRecord</a></tt><tt class="py-op">(</tt><tt id="link-89" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-89', 'i', 'link-20');">i</a></tt><tt class="py-op">)</tt><tt class="py-op">.</tt><tt class="py-name">hidden</tt><tt class="py-op">=</tt><tt class="py-number">1</tt> </tt>
<a name="L174"></a><tt class="py-lineno">174</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure</tt><tt class="py-op">=</tt><tt class="py-name">structure</tt> </tt>
<a name="L175"></a><tt class="py-lineno">175</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt><tt class="py-op">.</tt><tt id="link-90" class="py-name"><a title="p4vasp.StructureWindow.StructureWindow.updateStructure
p4vasp.applet.BuilderApplet.BuilderApplet.updateStructure
p4vasp.applet.STMWindowApplet.STMWindowApplet.updateStructure" class="py-name" href="#" onclick="return doclink('link-90', 'updateStructure', 'link-37');">updateStructure</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L176"></a><tt class="py-lineno">176</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.show"></a><div id="StructureWindow.show-def"><a name="L177"></a><tt class="py-lineno">177</tt> <a class="py-toggle" href="#" id="StructureWindow.show-toggle" onclick="return toggle('StructureWindow.show');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#show">show</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.show-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.show-expanded"><a name="L178"></a><tt class="py-lineno">178</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-keyword">not</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">visible</tt><tt class="py-op">:</tt> </tt>
<a name="L179"></a><tt class="py-lineno">179</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt>           <tt class="py-op">=</tt> <tt class="py-name">cp4vasp</tt><tt class="py-op">.</tt><tt class="py-name">VisNavDrawer</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L180"></a><tt class="py-lineno">180</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt>    <tt class="py-op">=</tt> <tt class="py-name">cp4vasp</tt><tt class="py-op">.</tt><tt class="py-name">VisStructureDrawer</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L181"></a><tt class="py-lineno">181</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt>       <tt class="py-op">=</tt> <tt class="py-name">cp4vasp</tt><tt class="py-op">.</tt><tt class="py-name">VisStructureArrowsDrawer</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">)</tt> </tt>
<a name="L182"></a><tt class="py-lineno">182</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt><tt class="py-op">.</tt><tt id="link-91" class="py-name"><a title="p4vasp.GraphCanvas.red
p4vasp.GraphPM.red
p4vasp.Structure.DefaultAtomtypesRecord.red
p4vasp.graph.red" class="py-name" href="#" onclick="return doclink('link-91', 'red', 'link-5');">red</a></tt>   <tt class="py-op">=</tt><tt class="py-number">0.5</tt> </tt>
<a name="L183"></a><tt class="py-lineno">183</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt><tt class="py-op">.</tt><tt id="link-92" class="py-name"><a title="p4vasp.GraphCanvas.green
p4vasp.GraphPM.green
p4vasp.Structure.DefaultAtomtypesRecord.green
p4vasp.graph.green" class="py-name" href="#" onclick="return doclink('link-92', 'green', 'link-6');">green</a></tt> <tt class="py-op">=</tt><tt class="py-number">1.0</tt> </tt>
<a name="L184"></a><tt class="py-lineno">184</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt><tt class="py-op">.</tt><tt id="link-93" class="py-name"><a title="p4vasp.GraphCanvas.blue
p4vasp.GraphPM.blue
p4vasp.Structure.DefaultAtomtypesRecord.blue
p4vasp.graph.blue" class="py-name" href="#" onclick="return doclink('link-93', 'blue', 'link-7');">blue</a></tt>  <tt class="py-op">=</tt><tt class="py-number">0.5</tt> </tt>
<a name="L185"></a><tt class="py-lineno">185</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt>     <tt class="py-op">=</tt> <tt class="py-name">cp4vasp</tt><tt class="py-op">.</tt><tt class="py-name">VisIsosurfaceDrawer</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L186"></a><tt class="py-lineno">186</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt> <tt class="py-op">=</tt> <tt class="py-name">cp4vasp</tt><tt class="py-op">.</tt><tt class="py-name">VisIsosurfaceDrawer</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L187"></a><tt class="py-lineno">187</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-94" class="py-name"><a title="p4vasp.GraphCanvas.red
p4vasp.GraphPM.red
p4vasp.Structure.DefaultAtomtypesRecord.red
p4vasp.graph.red" class="py-name" href="#" onclick="return doclink('link-94', 'red', 'link-5');">red</a></tt>    <tt class="py-op">=</tt> <tt class="py-number">99</tt><tt class="py-op">/</tt><tt class="py-number">255.0</tt> </tt>
<a name="L188"></a><tt class="py-lineno">188</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-95" class="py-name"><a title="p4vasp.GraphCanvas.green
p4vasp.GraphPM.green
p4vasp.Structure.DefaultAtomtypesRecord.green
p4vasp.graph.green" class="py-name" href="#" onclick="return doclink('link-95', 'green', 'link-6');">green</a></tt>  <tt class="py-op">=</tt> <tt class="py-number">195</tt><tt class="py-op">/</tt><tt class="py-number">255.0</tt> </tt>
<a name="L189"></a><tt class="py-lineno">189</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-96" class="py-name"><a title="p4vasp.GraphCanvas.blue
p4vasp.GraphPM.blue
p4vasp.Structure.DefaultAtomtypesRecord.blue
p4vasp.graph.blue" class="py-name" href="#" onclick="return doclink('link-96', 'blue', 'link-7');">blue</a></tt>   <tt class="py-op">=</tt> <tt class="py-number">255</tt><tt class="py-op">/</tt><tt class="py-number">255.0</tt> </tt>
<a name="L190"></a><tt class="py-lineno">190</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-97" class="py-name"><a title="p4vasp.GraphCanvas.red
p4vasp.GraphPM.red
p4vasp.Structure.DefaultAtomtypesRecord.red
p4vasp.graph.red" class="py-name" href="#" onclick="return doclink('link-97', 'red', 'link-5');">red</a></tt>    <tt class="py-op">=</tt> <tt class="py-number">198</tt><tt class="py-op">/</tt><tt class="py-number">255.0</tt> </tt>
<a name="L191"></a><tt class="py-lineno">191</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-98" class="py-name"><a title="p4vasp.GraphCanvas.green
p4vasp.GraphPM.green
p4vasp.Structure.DefaultAtomtypesRecord.green
p4vasp.graph.green" class="py-name" href="#" onclick="return doclink('link-98', 'green', 'link-6');">green</a></tt>  <tt class="py-op">=</tt> <tt class="py-number">29</tt><tt class="py-op">/</tt><tt class="py-number">255.0</tt> </tt>
<a name="L192"></a><tt class="py-lineno">192</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt><tt class="py-op">.</tt><tt id="link-99" class="py-name"><a title="p4vasp.GraphCanvas.blue
p4vasp.GraphPM.blue
p4vasp.Structure.DefaultAtomtypesRecord.blue
p4vasp.graph.blue" class="py-name" href="#" onclick="return doclink('link-99', 'blue', 'link-7');">blue</a></tt>   <tt class="py-op">=</tt> <tt class="py-number">72</tt><tt class="py-op">/</tt><tt class="py-number">255.0</tt> </tt>
<a name="L193"></a><tt class="py-lineno">193</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-100" class="py-name"><a title="p4vasp.StructureWindow.StructureWindow.setIsosurfaceLevel
p4vasp.applet.STMWindowApplet.STMWindowApplet.setIsosurfaceLevel" class="py-name" href="#" onclick="return doclink('link-100', 'setIsosurfaceLevel', 'link-14');">setIsosurfaceLevel</a></tt><tt class="py-op">(</tt><tt class="py-number">0.0</tt><tt class="py-op">)</tt> </tt>
<a name="L194"></a><tt class="py-lineno">194</tt>  <tt class="py-line">    <tt class="py-comment">#    self.setChgcar("/home/orest/work/p4vasp-0.1.2/CHARGTEST")</tt> </tt>
<a name="L195"></a><tt class="py-lineno">195</tt>  <tt class="py-line">    <tt class="py-comment">#    self.setChgcar("/fs/home2/odubay/work/p4vasp/p4vasp/CHARGTEST")</tt> </tt>
<a name="L196"></a><tt class="py-lineno">196</tt>  <tt class="py-line"> </tt>
<a name="L197"></a><tt class="py-lineno">197</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt><tt class="py-op">.</tt><tt id="link-101" class="py-name"><a title="p4vasp.Structure.AtomInfo.append
p4vasp.Structure.Structure.append
p4vasp.cStructure.AtomInfo.append
p4vasp.cStructure.Structure.append
p4vasp.graph.Graph.append
p4vasp.graph.World.append
p4vasp.repository.Repository.append" class="py-name" href="#" onclick="return doclink('link-101', 'append', 'link-15');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">)</tt> </tt>
<a name="L198"></a><tt class="py-lineno">198</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt><tt class="py-op">.</tt><tt id="link-102" class="py-name"><a title="p4vasp.Structure.AtomInfo.append
p4vasp.Structure.Structure.append
p4vasp.cStructure.AtomInfo.append
p4vasp.cStructure.Structure.append
p4vasp.graph.Graph.append
p4vasp.graph.World.append
p4vasp.repository.Repository.append" class="py-name" href="#" onclick="return doclink('link-102', 'append', 'link-15');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt><tt class="py-op">)</tt> </tt>
<a name="L199"></a><tt class="py-lineno">199</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt><tt class="py-op">.</tt><tt id="link-103" class="py-name"><a title="p4vasp.Structure.AtomInfo.append
p4vasp.Structure.Structure.append
p4vasp.cStructure.AtomInfo.append
p4vasp.cStructure.Structure.append
p4vasp.graph.Graph.append
p4vasp.graph.World.append
p4vasp.repository.Repository.append" class="py-name" href="#" onclick="return doclink('link-103', 'append', 'link-15');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">)</tt> </tt>
<a name="L200"></a><tt class="py-lineno">200</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt><tt class="py-op">.</tt><tt id="link-104" class="py-name"><a title="p4vasp.Structure.AtomInfo.append
p4vasp.Structure.Structure.append
p4vasp.cStructure.AtomInfo.append
p4vasp.cStructure.Structure.append
p4vasp.graph.Graph.append
p4vasp.graph.World.append
p4vasp.repository.Repository.append" class="py-name" href="#" onclick="return doclink('link-104', 'append', 'link-15');">append</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt><tt class="py-op">)</tt> </tt>
<a name="L201"></a><tt class="py-lineno">201</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">win</tt><tt class="py-op">.</tt><tt class="py-name">setDrawer</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt><tt class="py-op">)</tt> </tt>
<a name="L202"></a><tt class="py-lineno">202</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-105" class="py-name"><a title="p4vasp.Structure.Structure.setStructure
p4vasp.StructureWindow.StructureWindow.setStructure
p4vasp.applet.BuilderApplet.StructureTreeModel.setStructure
p4vasp.applet.STMWindowApplet.STMWindowApplet.setStructure
p4vasp.applet.StructureApplet.StructureApplet.setStructure
p4vasp.applet.StructureWindowApplet.StructureWindowApplet.setStructure
p4vasp.cStructure.Structure.setStructure" class="py-name" href="#" onclick="return doclink('link-105', 'setStructure', 'link-56');">setStructure</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure</tt><tt class="py-op">)</tt> </tt>
<a name="L203"></a><tt class="py-lineno">203</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">win</tt><tt class="py-op">.</tt><tt id="link-106" class="py-name" targets="Method p4vasp.GraphCanvas.Export.show()=p4vasp.GraphCanvas.Export-class.html#show,Method p4vasp.GraphCanvas.GraphCanvasWindow.show()=p4vasp.GraphCanvas.GraphCanvasWindow-class.html#show,Method p4vasp.GraphCanvas_gtk1.Export.show()=p4vasp.GraphCanvas_gtk1.Export-class.html#show,Method p4vasp.GraphCanvas_gtk1.GraphCanvasWindow.show()=p4vasp.GraphCanvas_gtk1.GraphCanvasWindow-class.html#show,Method p4vasp.StructureWindow.StructureWindow.show()=p4vasp.StructureWindow.StructureWindow-class.html#show,Method p4vasp.applet.Applet.Applet.show()=p4vasp.applet.Applet.Applet-class.html#show,Method p4vasp.applet.Applet.GraphApplet.show()=p4vasp.applet.Applet.GraphApplet-class.html#show,Method p4vasp.applet.GraphWindowApplet.GraphWindowApplet.show()=p4vasp.applet.GraphWindowApplet.GraphWindowApplet-class.html#show,Method p4vasp.applet.StructureApplet.Measure.show()=p4vasp.applet.StructureApplet.Measure-class.html#show,Method p4vasp.applet.StructureApplet.StructureApplet.show()=p4vasp.applet.StructureApplet.StructureApplet-class.html#show"><a title="p4vasp.GraphCanvas.Export.show
p4vasp.GraphCanvas.GraphCanvasWindow.show
p4vasp.GraphCanvas_gtk1.Export.show
p4vasp.GraphCanvas_gtk1.GraphCanvasWindow.show
p4vasp.StructureWindow.StructureWindow.show
p4vasp.applet.Applet.Applet.show
p4vasp.applet.Applet.GraphApplet.show
p4vasp.applet.GraphWindowApplet.GraphWindowApplet.show
p4vasp.applet.StructureApplet.Measure.show
p4vasp.applet.StructureApplet.StructureApplet.show" class="py-name" href="#" onclick="return doclink('link-106', 'show', 'link-106');">show</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L204"></a><tt class="py-lineno">204</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">visible</tt><tt class="py-op">=</tt><tt class="py-number">1</tt> </tt>
</div><a name="L205"></a><tt class="py-lineno">205</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.setDrawIsosurfaceAsPoints"></a><div id="StructureWindow.setDrawIsosurfaceAsPoints-def"><a name="L206"></a><tt class="py-lineno">206</tt> <a class="py-toggle" href="#" id="StructureWindow.setDrawIsosurfaceAsPoints-toggle" onclick="return toggle('StructureWindow.setDrawIsosurfaceAsPoints');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#setDrawIsosurfaceAsPoints">setDrawIsosurfaceAsPoints</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">flag</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.setDrawIsosurfaceAsPoints-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.setDrawIsosurfaceAsPoints-expanded"><a name="L207"></a><tt class="py-lineno">207</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">.</tt><tt class="py-name">setDrawAsPoints</tt><tt class="py-op">(</tt><tt class="py-name">flag</tt><tt class="py-op">)</tt> </tt>
<a name="L208"></a><tt class="py-lineno">208</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt><tt class="py-op">.</tt><tt class="py-name">setDrawAsPoints</tt><tt class="py-op">(</tt><tt class="py-name">flag</tt><tt class="py-op">)</tt> </tt>
</div><a name="StructureWindow.getDrawIsosurfaceAsPoints"></a><div id="StructureWindow.getDrawIsosurfaceAsPoints-def"><a name="L209"></a><tt class="py-lineno">209</tt> <a class="py-toggle" href="#" id="StructureWindow.getDrawIsosurfaceAsPoints-toggle" onclick="return toggle('StructureWindow.getDrawIsosurfaceAsPoints');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#getDrawIsosurfaceAsPoints">getDrawIsosurfaceAsPoints</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.getDrawIsosurfaceAsPoints-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.getDrawIsosurfaceAsPoints-expanded"><a name="L210"></a><tt class="py-lineno">210</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">.</tt><tt class="py-name">getDrawAsPoints</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L211"></a><tt class="py-lineno">211</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.removeSelectedAll"></a><div id="StructureWindow.removeSelectedAll-def"><a name="L212"></a><tt class="py-lineno">212</tt> <a class="py-toggle" href="#" id="StructureWindow.removeSelectedAll-toggle" onclick="return toggle('StructureWindow.removeSelectedAll');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#removeSelectedAll">removeSelectedAll</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.removeSelectedAll-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.removeSelectedAll-expanded"><a name="L213"></a><tt class="py-lineno">213</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt id="link-107" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.removeSelectedAll()=p4vasp.StructureWindow.StructureWindow-class.html#removeSelectedAll,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.removeSelectedAll()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#removeSelectedAll"><a title="p4vasp.StructureWindow.StructureWindow.removeSelectedAll
p4vasp.applet.STMWindowApplet.STMWindowApplet.removeSelectedAll" class="py-name" href="#" onclick="return doclink('link-107', 'removeSelectedAll', 'link-107');">removeSelectedAll</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="StructureWindow.selectAtom"></a><div id="StructureWindow.selectAtom-def"><a name="L214"></a><tt class="py-lineno">214</tt> <a class="py-toggle" href="#" id="StructureWindow.selectAtom-toggle" onclick="return toggle('StructureWindow.selectAtom');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#selectAtom">selectAtom</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">atom</tt><tt class="py-op">,</tt><tt class="py-param">nx</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt><tt class="py-param">ny</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt><tt class="py-param">nz</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.selectAtom-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.selectAtom-expanded"><a name="L215"></a><tt class="py-lineno">215</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt id="link-108" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.selectAtom()=p4vasp.StructureWindow.StructureWindow-class.html#selectAtom,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.selectAtom()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#selectAtom"><a title="p4vasp.StructureWindow.StructureWindow.selectAtom
p4vasp.applet.STMWindowApplet.STMWindowApplet.selectAtom" class="py-name" href="#" onclick="return doclink('link-108', 'selectAtom', 'link-108');">selectAtom</a></tt><tt class="py-op">(</tt><tt class="py-name">atom</tt><tt class="py-op">,</tt><tt class="py-name">nx</tt><tt class="py-op">,</tt><tt class="py-name">ny</tt><tt class="py-op">,</tt><tt class="py-name">nz</tt><tt class="py-op">)</tt> </tt>
</div><a name="StructureWindow.deselectAtom"></a><div id="StructureWindow.deselectAtom-def"><a name="L216"></a><tt class="py-lineno">216</tt> <a class="py-toggle" href="#" id="StructureWindow.deselectAtom-toggle" onclick="return toggle('StructureWindow.deselectAtom');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#deselectAtom">deselectAtom</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">atom</tt><tt class="py-op">,</tt><tt class="py-param">nx</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt><tt class="py-param">ny</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">,</tt><tt class="py-param">nz</tt><tt class="py-op">=</tt><tt class="py-number">0</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.deselectAtom-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.deselectAtom-expanded"><a name="L217"></a><tt class="py-lineno">217</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt id="link-109" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.deselectAtom()=p4vasp.StructureWindow.StructureWindow-class.html#deselectAtom,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.deselectAtom()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#deselectAtom"><a title="p4vasp.StructureWindow.StructureWindow.deselectAtom
p4vasp.applet.STMWindowApplet.STMWindowApplet.deselectAtom" class="py-name" href="#" onclick="return doclink('link-109', 'deselectAtom', 'link-109');">deselectAtom</a></tt><tt class="py-op">(</tt><tt class="py-name">atom</tt><tt class="py-op">,</tt><tt class="py-name">nx</tt><tt class="py-op">,</tt><tt class="py-name">ny</tt><tt class="py-op">,</tt><tt class="py-name">nz</tt><tt class="py-op">)</tt> </tt>
</div><a name="StructureWindow.getSelectedCount"></a><div id="StructureWindow.getSelectedCount-def"><a name="L218"></a><tt class="py-lineno">218</tt> <a class="py-toggle" href="#" id="StructureWindow.getSelectedCount-toggle" onclick="return toggle('StructureWindow.getSelectedCount');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#getSelectedCount">getSelectedCount</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.getSelectedCount-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.getSelectedCount-expanded"><a name="L219"></a><tt class="py-lineno">219</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt id="link-110" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.getSelectedCount()=p4vasp.StructureWindow.StructureWindow-class.html#getSelectedCount,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.getSelectedCount()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#getSelectedCount"><a title="p4vasp.StructureWindow.StructureWindow.getSelectedCount
p4vasp.applet.STMWindowApplet.STMWindowApplet.getSelectedCount" class="py-name" href="#" onclick="return doclink('link-110', 'getSelectedCount', 'link-110');">getSelectedCount</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="StructureWindow.getSelected"></a><div id="StructureWindow.getSelected-def"><a name="L220"></a><tt class="py-lineno">220</tt> <a class="py-toggle" href="#" id="StructureWindow.getSelected-toggle" onclick="return toggle('StructureWindow.getSelected');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#getSelected">getSelected</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">i</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.getSelected-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.getSelected-expanded"><a name="L221"></a><tt class="py-lineno">221</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt id="link-111" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.getSelected()=p4vasp.StructureWindow.StructureWindow-class.html#getSelected,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.getSelected()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#getSelected"><a title="p4vasp.StructureWindow.StructureWindow.getSelected
p4vasp.applet.STMWindowApplet.STMWindowApplet.getSelected" class="py-name" href="#" onclick="return doclink('link-111', 'getSelected', 'link-111');">getSelected</a></tt><tt class="py-op">(</tt><tt id="link-112" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-112', 'i', 'link-20');">i</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L222"></a><tt class="py-lineno">222</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.setArrows"></a><div id="StructureWindow.setArrows-def"><a name="L223"></a><tt class="py-lineno">223</tt> <a class="py-toggle" href="#" id="StructureWindow.setArrows-toggle" onclick="return toggle('StructureWindow.setArrows');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#setArrows">setArrows</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">l</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.setArrows-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.setArrows-expanded"><a name="L224"></a><tt class="py-lineno">224</tt>  <tt class="py-line">        <tt class="py-name">a</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt> </tt>
<a name="L225"></a><tt class="py-lineno">225</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt id="link-113" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-113', 'i', 'link-20');">i</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">a</tt><tt class="py-op">.</tt><tt id="link-114" class="py-name"><a title="p4vasp.cStructure.Structure.len" class="py-name" href="#" onclick="return doclink('link-114', 'len', 'link-28');">len</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L226"></a><tt class="py-lineno">226</tt>  <tt class="py-line">            <tt class="py-name">a</tt><tt class="py-op">.</tt><tt class="py-name">setArrow</tt><tt class="py-op">(</tt><tt id="link-115" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-115', 'i', 'link-20');">i</a></tt><tt class="py-op">,</tt><tt class="py-number">0</tt><tt class="py-op">,</tt><tt class="py-number">0</tt><tt class="py-op">,</tt><tt class="py-number">0</tt><tt class="py-op">)</tt> </tt>
<a name="L227"></a><tt class="py-lineno">227</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">l</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt><tt class="py-op">:</tt> </tt>
<a name="L228"></a><tt class="py-lineno">228</tt>  <tt class="py-line">            <tt class="py-keyword">for</tt> <tt id="link-116" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-116', 'i', 'link-20');">i</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">range</tt><tt class="py-op">(</tt><tt class="py-name">min</tt><tt class="py-op">(</tt><tt id="link-117" class="py-name"><a title="p4vasp.cStructure.Structure.len" class="py-name" href="#" onclick="return doclink('link-117', 'len', 'link-28');">len</a></tt><tt class="py-op">(</tt><tt class="py-name">l</tt><tt class="py-op">)</tt><tt class="py-op">,</tt><tt class="py-name">a</tt><tt class="py-op">.</tt><tt id="link-118" class="py-name"><a title="p4vasp.cStructure.Structure.len" class="py-name" href="#" onclick="return doclink('link-118', 'len', 'link-28');">len</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L229"></a><tt class="py-lineno">229</tt>  <tt class="py-line">                <tt class="py-name">v</tt><tt class="py-op">=</tt><tt class="py-name">l</tt><tt class="py-op">[</tt><tt id="link-119" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-119', 'i', 'link-20');">i</a></tt><tt class="py-op">]</tt> </tt>
<a name="L230"></a><tt class="py-lineno">230</tt>  <tt class="py-line">                <tt class="py-name">a</tt><tt class="py-op">.</tt><tt class="py-name">setArrow</tt><tt class="py-op">(</tt><tt id="link-120" class="py-name"><a title="p4vasp.paint3d.OpenGLPaint3D.i" class="py-name" href="#" onclick="return doclink('link-120', 'i', 'link-20');">i</a></tt><tt class="py-op">,</tt><tt class="py-name">v</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">,</tt><tt class="py-name">v</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">,</tt><tt class="py-name">v</tt><tt class="py-op">[</tt><tt class="py-number">2</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
<a name="L231"></a><tt class="py-lineno">231</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt id="link-121" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.redraw()=p4vasp.StructureWindow.StructureWindow-class.html#redraw,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.redraw()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#redraw"><a title="p4vasp.StructureWindow.StructureWindow.redraw
p4vasp.applet.STMWindowApplet.STMWindowApplet.redraw" class="py-name" href="#" onclick="return doclink('link-121', 'redraw', 'link-121');">redraw</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L232"></a><tt class="py-lineno">232</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.getArrowsScale"></a><div id="StructureWindow.getArrowsScale-def"><a name="L233"></a><tt class="py-lineno">233</tt> <a class="py-toggle" href="#" id="StructureWindow.getArrowsScale-toggle" onclick="return toggle('StructureWindow.getArrowsScale');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#getArrowsScale">getArrowsScale</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.getArrowsScale-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.getArrowsScale-expanded"><a name="L234"></a><tt class="py-lineno">234</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt><tt class="py-op">.</tt><tt class="py-name">getScale</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L235"></a><tt class="py-lineno">235</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.setArrowsScale"></a><div id="StructureWindow.setArrowsScale-def"><a name="L236"></a><tt class="py-lineno">236</tt> <a class="py-toggle" href="#" id="StructureWindow.setArrowsScale-toggle" onclick="return toggle('StructureWindow.setArrowsScale');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#setArrowsScale">setArrowsScale</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">s</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.setArrowsScale-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.setArrowsScale-expanded"><a name="L237"></a><tt class="py-lineno">237</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt><tt class="py-op">.</tt><tt class="py-name">setScale</tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">)</tt> </tt>
</div><a name="L238"></a><tt class="py-lineno">238</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.getRadiusFactor"></a><div id="StructureWindow.getRadiusFactor-def"><a name="L239"></a><tt class="py-lineno">239</tt> <a class="py-toggle" href="#" id="StructureWindow.getRadiusFactor-toggle" onclick="return toggle('StructureWindow.getRadiusFactor');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#getRadiusFactor">getRadiusFactor</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.getRadiusFactor-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.getRadiusFactor-expanded"><a name="L240"></a><tt class="py-lineno">240</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt id="link-122" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.getRadiusFactor()=p4vasp.StructureWindow.StructureWindow-class.html#getRadiusFactor,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.getRadiusFactor()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#getRadiusFactor"><a title="p4vasp.StructureWindow.StructureWindow.getRadiusFactor
p4vasp.applet.STMWindowApplet.STMWindowApplet.getRadiusFactor" class="py-name" href="#" onclick="return doclink('link-122', 'getRadiusFactor', 'link-122');">getRadiusFactor</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L241"></a><tt class="py-lineno">241</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.setRadiusFactor"></a><div id="StructureWindow.setRadiusFactor-def"><a name="L242"></a><tt class="py-lineno">242</tt> <a class="py-toggle" href="#" id="StructureWindow.setRadiusFactor-toggle" onclick="return toggle('StructureWindow.setRadiusFactor');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#setRadiusFactor">setRadiusFactor</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">s</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.setRadiusFactor-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.setRadiusFactor-expanded"><a name="L243"></a><tt class="py-lineno">243</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt id="link-123" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.setRadiusFactor()=p4vasp.StructureWindow.StructureWindow-class.html#setRadiusFactor,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.setRadiusFactor()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#setRadiusFactor"><a title="p4vasp.StructureWindow.StructureWindow.setRadiusFactor
p4vasp.applet.STMWindowApplet.STMWindowApplet.setRadiusFactor" class="py-name" href="#" onclick="return doclink('link-123', 'setRadiusFactor', 'link-123');">setRadiusFactor</a></tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">)</tt> </tt>
</div><a name="L244"></a><tt class="py-lineno">244</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.showCell"></a><div id="StructureWindow.showCell-def"><a name="L245"></a><tt class="py-lineno">245</tt> <a class="py-toggle" href="#" id="StructureWindow.showCell-toggle" onclick="return toggle('StructureWindow.showCell');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#showCell">showCell</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt><tt class="py-param">s</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.showCell-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.showCell-expanded"><a name="L246"></a><tt class="py-lineno">246</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt id="link-124" class="py-name" targets="Method p4vasp.StructureWindow.StructureWindow.showCell()=p4vasp.StructureWindow.StructureWindow-class.html#showCell,Method p4vasp.applet.STMWindowApplet.STMWindowApplet.showCell()=p4vasp.applet.STMWindowApplet.STMWindowApplet-class.html#showCell"><a title="p4vasp.StructureWindow.StructureWindow.showCell
p4vasp.applet.STMWindowApplet.STMWindowApplet.showCell" class="py-name" href="#" onclick="return doclink('link-124', 'showCell', 'link-124');">showCell</a></tt><tt class="py-op">(</tt><tt class="py-name">s</tt><tt class="py-op">)</tt> </tt>
</div><a name="L247"></a><tt class="py-lineno">247</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.hide"></a><div id="StructureWindow.hide-def"><a name="L248"></a><tt class="py-lineno">248</tt> <a class="py-toggle" href="#" id="StructureWindow.hide-toggle" onclick="return toggle('StructureWindow.hide');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#hide">hide</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.hide-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.hide-expanded"><a name="L249"></a><tt class="py-lineno">249</tt>  <tt class="py-line">        <tt class="py-keyword">print</tt> <tt class="py-string">"StructureWindow.hide"</tt> </tt>
<a name="L250"></a><tt class="py-lineno">250</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">visible</tt><tt class="py-op">:</tt> </tt>
<a name="L251"></a><tt class="py-lineno">251</tt>  <tt class="py-line"> </tt>
<a name="L252"></a><tt class="py-lineno">252</tt>  <tt class="py-line">            <tt class="py-comment">###############################################################</tt> </tt>
<a name="L253"></a><tt class="py-lineno">253</tt>  <tt class="py-line">            <tt class="py-comment"># THE FOLLOWING LINE IS A QUICK BUGFIX                        #</tt> </tt>
<a name="L254"></a><tt class="py-lineno">254</tt>  <tt class="py-line">            <tt class="py-comment"># I do not fully understand the bug, but when it is not there,#</tt> </tt>
<a name="L255"></a><tt class="py-lineno">255</tt>  <tt class="py-line">            <tt class="py-comment"># it could end with segmentation fault when using in threads  #</tt> </tt>
<a name="L256"></a><tt class="py-lineno">256</tt>  <tt class="py-line">            <tt class="py-comment"># see test_StructureWindow_th.py                          oD  #</tt> </tt>
<a name="L257"></a><tt class="py-lineno">257</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">win</tt><tt class="py-op">.</tt><tt class="py-name">setDrawer</tt><tt class="py-op">(</tt><tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
<a name="L258"></a><tt class="py-lineno">258</tt>  <tt class="py-line">            <tt class="py-comment">###############################################################</tt> </tt>
<a name="L259"></a><tt class="py-lineno">259</tt>  <tt class="py-line"> </tt>
<a name="L260"></a><tt class="py-lineno">260</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">neg_isosurface_drawer</tt><tt class="py-op">=</tt><tt class="py-name">None</tt> </tt>
<a name="L261"></a><tt class="py-lineno">261</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">isosurface_drawer</tt><tt class="py-op">=</tt><tt class="py-name">None</tt> </tt>
<a name="L262"></a><tt class="py-lineno">262</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt><tt class="py-op">=</tt><tt class="py-name">None</tt> </tt>
<a name="L263"></a><tt class="py-lineno">263</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">=</tt><tt class="py-name">None</tt> </tt>
<a name="L264"></a><tt class="py-lineno">264</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">navigator</tt><tt class="py-op">=</tt><tt class="py-name">None</tt> </tt>
<a name="L265"></a><tt class="py-lineno">265</tt>  <tt class="py-line">            <tt class="py-keyword">print</tt> <tt class="py-string">"StructureWindow.hide a"</tt> </tt>
<a name="L266"></a><tt class="py-lineno">266</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">win</tt><tt class="py-op">.</tt><tt id="link-125" class="py-name" targets="Method p4vasp.GraphCanvas.Export.hide()=p4vasp.GraphCanvas.Export-class.html#hide,Method p4vasp.GraphCanvas.GraphCanvasWindow.hide()=p4vasp.GraphCanvas.GraphCanvasWindow-class.html#hide,Method p4vasp.GraphCanvas_gtk1.Export.hide()=p4vasp.GraphCanvas_gtk1.Export-class.html#hide,Method p4vasp.GraphCanvas_gtk1.GraphCanvasWindow.hide()=p4vasp.GraphCanvas_gtk1.GraphCanvasWindow-class.html#hide,Method p4vasp.StructureWindow.StructureWindow.hide()=p4vasp.StructureWindow.StructureWindow-class.html#hide,Method p4vasp.applet.Applet.Applet.hide()=p4vasp.applet.Applet.Applet-class.html#hide,Method p4vasp.applet.Applet.GraphApplet.hide()=p4vasp.applet.Applet.GraphApplet-class.html#hide,Method p4vasp.applet.GraphWindowApplet.GraphWindowApplet.hide()=p4vasp.applet.GraphWindowApplet.GraphWindowApplet-class.html#hide,Method p4vasp.applet.StructureApplet.Measure.hide()=p4vasp.applet.StructureApplet.Measure-class.html#hide,Method p4vasp.applet.StructureApplet.StructureApplet.hide()=p4vasp.applet.StructureApplet.StructureApplet-class.html#hide"><a title="p4vasp.GraphCanvas.Export.hide
p4vasp.GraphCanvas.GraphCanvasWindow.hide
p4vasp.GraphCanvas_gtk1.Export.hide
p4vasp.GraphCanvas_gtk1.GraphCanvasWindow.hide
p4vasp.StructureWindow.StructureWindow.hide
p4vasp.applet.Applet.Applet.hide
p4vasp.applet.Applet.GraphApplet.hide
p4vasp.applet.GraphWindowApplet.GraphWindowApplet.hide
p4vasp.applet.StructureApplet.Measure.hide
p4vasp.applet.StructureApplet.StructureApplet.hide" class="py-name" href="#" onclick="return doclink('link-125', 'hide', 'link-125');">hide</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L267"></a><tt class="py-lineno">267</tt>  <tt class="py-line">            <tt class="py-keyword">print</tt> <tt class="py-string">"StructureWindow.hide b"</tt> </tt>
<a name="L268"></a><tt class="py-lineno">268</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">visible</tt><tt class="py-op">=</tt><tt class="py-number">0</tt> </tt>
<a name="L269"></a><tt class="py-lineno">269</tt>  <tt class="py-line">        <tt class="py-keyword">print</tt> <tt class="py-string">"StructureWindow.hide -"</tt> </tt>
</div><a name="L270"></a><tt class="py-lineno">270</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.redraw"></a><div id="StructureWindow.redraw-def"><a name="L271"></a><tt class="py-lineno">271</tt> <a class="py-toggle" href="#" id="StructureWindow.redraw-toggle" onclick="return toggle('StructureWindow.redraw');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#redraw">redraw</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.redraw-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.redraw-expanded"><a name="L272"></a><tt class="py-lineno">272</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">visible</tt><tt class="py-op">:</tt> </tt>
<a name="L273"></a><tt class="py-lineno">273</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">win</tt><tt class="py-op">.</tt><tt id="link-126" class="py-name"><a title="p4vasp.StructureWindow.StructureWindow.redraw
p4vasp.applet.STMWindowApplet.STMWindowApplet.redraw" class="py-name" href="#" onclick="return doclink('link-126', 'redraw', 'link-121');">redraw</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="StructureWindow.updateStructure"></a><div id="StructureWindow.updateStructure-def"><a name="L274"></a><tt class="py-lineno">274</tt> <a class="py-toggle" href="#" id="StructureWindow.updateStructure-toggle" onclick="return toggle('StructureWindow.updateStructure');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#updateStructure">updateStructure</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.updateStructure-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.updateStructure-expanded"><a name="L275"></a><tt class="py-lineno">275</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">visible</tt><tt class="py-op">:</tt> </tt>
<a name="L276"></a><tt class="py-lineno">276</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">structure_drawer</tt><tt class="py-op">.</tt><tt id="link-127" class="py-name"><a title="p4vasp.StructureWindow.StructureWindow.updateStructure
p4vasp.applet.BuilderApplet.BuilderApplet.updateStructure
p4vasp.applet.STMWindowApplet.STMWindowApplet.updateStructure" class="py-name" href="#" onclick="return doclink('link-127', 'updateStructure', 'link-37');">updateStructure</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L277"></a><tt class="py-lineno">277</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">arrows_drawer</tt><tt class="py-op">.</tt><tt id="link-128" class="py-name"><a title="p4vasp.StructureWindow.StructureWindow.updateStructure
p4vasp.applet.BuilderApplet.BuilderApplet.updateStructure
p4vasp.applet.STMWindowApplet.STMWindowApplet.updateStructure" class="py-name" href="#" onclick="return doclink('link-128', 'updateStructure', 'link-37');">updateStructure</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L278"></a><tt class="py-lineno">278</tt>  <tt class="py-line"> </tt>
<a name="StructureWindow.__del__"></a><div id="StructureWindow.__del__-def"><a name="L279"></a><tt class="py-lineno">279</tt> <a class="py-toggle" href="#" id="StructureWindow.__del__-toggle" onclick="return toggle('StructureWindow.__del__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="p4vasp.StructureWindow.StructureWindow-class.html#__del__">__del__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="StructureWindow.__del__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="StructureWindow.__del__-expanded"><a name="L280"></a><tt class="py-lineno">280</tt>  <tt class="py-line"><tt class="py-comment">#    print "del StructureWindow"</tt> </tt>
<a name="L281"></a><tt class="py-lineno">281</tt>  <tt class="py-line"><tt class="py-comment">#    zombies.append(self.win)</tt> </tt>
<a name="L282"></a><tt class="py-lineno">282</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">win</tt><tt class="py-op">=</tt><tt class="py-name">None</tt> </tt>
<a name="L283"></a><tt class="py-lineno">283</tt>  <tt class="py-line">        <tt class="py-name">cp4vasp</tt><tt class="py-op">.</tt><tt class="py-name">VisSync</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L284"></a><tt class="py-lineno">284</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="p4vasp-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="../index.html">p4vasp</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Aug 16 22:08:12 2015
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
